﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

   public class AdminChangePswrdBAL
    {

       private AdminChangePswrdDAL _ChangePasswordDal;

       public AdminChangePswrdBAL() : this(new AdminChangePswrdDAL()) { }
      public AdminChangePswrdBAL(AdminChangePswrdDAL ChangePasswordDAL) { _ChangePasswordDal = ChangePasswordDAL; }

        public int ChangePassword(AdminChangePaswrdBO ChangePassword)
    {

        try
        {

            return _ChangePasswordDal.ChangePassword(ChangePassword);



        }
        catch (Exception ex)
        {
            throw ex;


        }
        finally
        {

            _ChangePasswordDal = null;

        }
    }
    }

